package com.example.back.Repository;

import com.example.back.Entity.BigSale;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BigSaleRepository extends JpaRepository<BigSale,Long> {
    @Override
    List<BigSale> findAll();
    BigSale findBigSaleByBigSaleId(long BSId);
    Page<BigSale> findAllByBigSaleNameContains(Pageable pageable,String BSN);
}
